package com.goods.business.service;

import com.goods.common.vo.business.OutStockDetailVO;
import com.goods.common.vo.business.OutStockVO;
import com.goods.common.vo.system.PageVO;

/**
 * Created with IntelliJ IDEA
 *
 * @Date: 2023/3/6 - 15:27
 * @Author: Hyoung
 * @Description:
 */
public interface IOutStockService {
    PageVO<OutStockVO> findOutStockList(Integer pageNum, Integer pageSize, OutStockVO outStockVO);

    /**
     * 发放明细
     *
     * @param id
     * @param pageNum
     * @return
     */
    OutStockDetailVO detail(Integer id, Integer pageNum);

    /**
     * 记录一个发放表单
     *
     * @param outStockVO
     */
    void addOutStock(OutStockVO outStockVO);

    void remove(Integer id);

    void back(Integer id);

    void publish(Integer id);

    void delete(Integer id);
}
